﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace LayuiMvc.Models.System
{
    /// <summary>
    /// 系统菜单模型
    /// </summary>
    public class MenuInfoDto
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 链接
        /// </summary>
        public string Href { get; set; }

        /// <summary>
        /// 打开方式：_self正常方式;_blank标签方式
        /// </summary>
        public string Target { get; set; }

        /// <summary>
        /// 子级
        /// </summary>
        public List<MenuInfoDto> Child { get; set; } = new List<MenuInfoDto>();
    }
}
